home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextSetString.z / XmTextSetString
Encoding:
Text File  |  2003-11-18  |  2.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSttttrrrriiiinnnngggg((((3333XXXX))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV       XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSttttrrrriiiinnnngggg((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_S_e_t_S_t_r_i_n_g - A Text function that sets the string value
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       #include <Xm/Text.h>
  13.  
  14.       void XmTextSetString (wwwwiiiiddddggggeeeetttt,,,,    vvvvaaaalllluuuueeee)
  15.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  16.            _c_h_a_r     **** vvvvaaaalllluuuueeee;
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.       _X_m_T_e_x_t_S_e_t_S_t_r_i_n_g sets the string value    of the Text widget.
  20.       This routine calls the widget's _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k and
  21.       verification callbacks, either _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k or
  22.       _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k_W_c_s, or both.    If both    verification
  23.       callback lists are registered, the procedures    of the
  24.       _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k list are executed first and the
  25.       resulting data is passed to the _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k_W_c_s
  26.       callbacks.  It also sets the insertion cursor    position to
  27.       the beginning    of the string and calls    the widget's
  28.       _X_m_N_m_o_t_i_o_n_V_e_r_i_f_y_C_a_l_l_b_a_c_k callbacks.
  29.  
  30.       wwwwiiiiddddggggeeeetttt
  31.            Specifies the Text widget ID
  32.  
  33.       vvvvaaaalllluuuueeee
  34.            Specifies the character pointer to the string value and
  35.            places the string into the text edit window
  36.  
  37.       For a    complete definition of Text and    its associated
  38.       resources, see _X_m_T_e_x_t(_3_X).
  39.  
  40.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  41.       _X_m_T_e_x_t(_3_X) and _X_m_T_e_x_t_S_e_t_S_t_r_i_n_g_W_c_s(_3_X).
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.